package com.matrix.marketing.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author 有点甜
 * @since 2025/8/1
 */
@Data
@TableName("t_points_log")
public class PointsLog {
    @TableId(type = IdType.AUTO)
    private Long id;
    private Long userId;
    private Integer pointsChange;
    private Long currentPoints;
    private Integer sourceType;
    private String sourceId;
    private String description;
    private LocalDateTime createTime;
}
